ifneq ($(LIBS_INCLUDED), yes)
LIBS_INCLUDED=yes
ENABLE_BLKID = yes
include config.mk

# gtk+3.0
CFLAGS_GTK = $(shell pkg-config --cflags gtk+-3.0)
LDFLAGS_GTK = $(shell pkg-config --libs gtk+-3.0)

# nautilus
CFLAGS_NAUTILUS	= "-I/usr/include/nautilus"
LDFLAGS_NAUTILUS = ""

# libblkid
CFLAGS_BLKID = 
LDFLAGS_BLKID = -lblkid

# FCGI
LIBFCGI_PATH =  ../fcgi/libfcgi
LDFLAGS_FCGI = -lfcgi
LIBFCGI_LIB_PATH = $(LIBFCGI_PATH)/.libs
LDFLAGS_FCGI += -L$(LIBFCGI_LIB_PATH)
CFLAGS_FCGI += -I$(LIBFCGI_PATH)/../include

# libchunfeng
LIBCHUNFENG_PATH = ../libchunfeng
LDFLAGS_LIBCHUNFENG = -L$(LIBCHUNFENG_LIB_PATH)
LIBCHUNFENG_LIB_PATH = $(LIBCHUNFENG_PATH)
LDFLAGS_LIBCHUNFENG += -lchunfeng -lm -lcrypt
CFLAGS_LIBCHUNFENG += -I$(LIBCHUNFENG_PATH)/include

ifeq ($(ENABLE_FCGI), yes)
CFLAGS_LIBCHUNFENG += $(CFLAGS_FCGI)
LDFLAGS_LIBCHUNFENG += $(LDFLAGS_FCGI)
endif

ifeq ($(ENABLE_BLKID), yes)
CFLAGS_LIBCHUNFENG += $(CFLAGS_BLKID)
LDFLAGS_LIBCHUNFENG += $(LDFLAGS_BLKID)
endif


endif
